﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using MySql.Data;
//using MySql.Data.MySqlClient;

namespace Storys.Data
{
    public class MySqlHelper
    {
        //string conStr = "server=58.222.24.8;port=3306;user id=a0227004211; password=83598506; database=a0227004211; Connect Timeout=5;pooling=true;character set=utf8";
        //MySqlConnection con = null;

        //public void OpenCon()
        //{
        //    con = new MySqlConnection(conStr);
        //    con.Open();
        //}
        //public void ExcuteSQL(string sql)
        //{
        //    MySqlCommand cmd = new MySqlCommand(sql, con);
        //    cmd.ExecuteNonQuery();

        //}
        //public void CloseCon()
        //{
        //    con.Close();
        //}
    }
}


